package com.rimi.mapper;

import com.rimi.bean.Shop;
import com.rimi.bean.ShopExample;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: ECsystem
 * @Date: 2018/9/17 11:21
 * @Author: Mr.GuoQiang
 * @Description:
 */

@Repository
public interface ShopMapper {

    long countByExample(ShopExample example);

    int deleteByExample(ShopExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Shop record);

    int insertSelective(Shop record);

    List<Shop> selectByExample(ShopExample example);

    Shop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Shop record);

    int updateByPrimaryKey(Shop record);
}
